package com.mrd.gtimpframe.entity;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * T_BIZ_BASE_BUSINESS
 * 业务信息基础类
 */
public class BaseBusiness implements Serializable {
    private String id;

    /**
     * 发货人,真实托运人
     */
    private String realCustomerId;

    /**
     * 下单的客户公司/代理公司
     */
    private String customerComId;

    private String creator;

    private Date ctime;

    private String modifier;

    private Date mtime;

    /**
     * 虚拟的出口业务id
     */
    private String businessId;

    private String type;

    /**
     * 业务供应商公司ID
     */
    private String supId;

    /**
     * 业务系统反馈的主键信息
     */
    private String bpk;

    /**
     * 业务确认时间、下单时间
     */
    private Date confirmTime;

    private Date validateTime;

    /**
     * 业务审核员ID，user
     */
    private String validatorId;
    /**
     * 业务审核员
     */
    private User validator;
    /**
     * 业务审核员信息拓展，若VALIDATE_ID字段为空，则填写该字段，可用于外部审核
     */
    private String validatorExt;

    /**
     * 业务上传时间
     */
    private Date uploadTime;

    /**
     * 业务上传人ID，user
     */
    private String uploaderId;

    /**
     * 业务上传人信息拓展，同VALIDATOR_EXT
     */
    private String uploaderExt;

    /**
     * 业务结束时间
     */
    private Date finishTime;

    /**
     * 设置业务结束状态的user的ID
     */
    private String finisherId;

    /**
     * 设置业务结束人信息拓展，同VALIDATOR_EXT
     */
    private String finisherExt;

    /**
     * 业务最终受理的供应商
     */
    private String rSupId;

    private Date qpdrsj;

    private String qpdrzt;

    private Date qpscsj;

    private String qpDjzt;

    private String qpTyno;

    private String qpHgno;

    private Date qpZtsj;

    private String qpFlag;

    private BigDecimal qptflag;

    /**
     * 是通关一体化，0代表不是通关一体化，1代表是
     */
    private String isTongguanYth;

    /**
     * 第二供应商
     */
    private String secondSupId;

    /**
     * 第二供应商编码
     */
    private String secondSupIdCode;
    private String agent_for_com_id;
    private String enter_type;
    private String enter_page;

    /**
     * 录单类型
     */
    private String enterType;

    /**
     * T_BIZ_BASE_BUSINESS
     */
    private static final long serialVersionUID = 1L;

    public void setEnter_page(String enter_page) {
        this.enter_page = enter_page;
    }

    public void setEnter_type(String enter_type) {
        this.enter_type = enter_type;
    }

    public void setAgent_for_com_id(String agent_for_com_id) {
        this.agent_for_com_id = agent_for_com_id;
    }

    public String getEnter_page() {
        return enter_page;
    }

    public String getEnter_type() {
        return enter_type;
    }

    public String getAgent_for_com_id() {
        return agent_for_com_id;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id == null ? null : id.trim();
    }

    public String getRealCustomerId() {
        return realCustomerId;
    }

    public void setRealCustomerId(String realCustomerId) {
        this.realCustomerId = realCustomerId == null ? null : realCustomerId.trim();
    }

    public String getCustomerComId() {
        return customerComId;
    }

    public void setCustomerComId(String customerComId) {
        this.customerComId = customerComId == null ? null : customerComId.trim();
    }

    public String getCreator() {
        return creator;
    }

    public void setCreator(String creator) {
        this.creator = creator == null ? null : creator.trim();
    }

    public Date getCtime() {
        return ctime;
    }

    public void setCtime(Date ctime) {
        this.ctime = ctime;
    }

    public String getModifier() {
        return modifier;
    }

    public void setModifier(String modifier) {
        this.modifier = modifier == null ? null : modifier.trim();
    }

    public Date getMtime() {
        return mtime;
    }

    public void setMtime(Date mtime) {
        this.mtime = mtime;
    }

    public String getBusinessId() {
        return businessId;
    }

    public void setBusinessId(String businessId) {
        this.businessId = businessId == null ? null : businessId.trim();
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type == null ? null : type.trim();
    }

    public String getSupId() {
        return supId;
    }

    public void setSupId(String supId) {
        this.supId = supId == null ? null : supId.trim();
    }

    public String getBpk() {
        return bpk;
    }

    public void setBpk(String bpk) {
        this.bpk = bpk == null ? null : bpk.trim();
    }

    public Date getConfirmTime() {
        return confirmTime;
    }

    public void setConfirmTime(Date confirmTime) {
        this.confirmTime = confirmTime;
    }

    public Date getValidateTime() {
        return validateTime;
    }

    public void setValidateTime(Date validateTime) {
        this.validateTime = validateTime;
    }

    public String getValidatorId() {
        return validatorId;
    }

    public void setValidatorId(String validatorId) {
        this.validatorId = validatorId == null ? null : validatorId.trim();
    }

    public String getValidatorExt() {
        return validatorExt;
    }

    public void setValidatorExt(String validatorExt) {
        this.validatorExt = validatorExt == null ? null : validatorExt.trim();
    }

    public Date getUploadTime() {
        return uploadTime;
    }

    public void setUploadTime(Date uploadTime) {
        this.uploadTime = uploadTime;
    }

    public String getUploaderId() {
        return uploaderId;
    }

    public void setUploaderId(String uploaderId) {
        this.uploaderId = uploaderId == null ? null : uploaderId.trim();
    }

    public String getUploaderExt() {
        return uploaderExt;
    }

    public void setUploaderExt(String uploaderExt) {
        this.uploaderExt = uploaderExt == null ? null : uploaderExt.trim();
    }

    public Date getFinishTime() {
        return finishTime;
    }

    public void setFinishTime(Date finishTime) {
        this.finishTime = finishTime;
    }

    public String getFinisherId() {
        return finisherId;
    }

    public void setFinisherId(String finisherId) {
        this.finisherId = finisherId == null ? null : finisherId.trim();
    }

    public String getFinisherExt() {
        return finisherExt;
    }

    public void setFinisherExt(String finisherExt) {
        this.finisherExt = finisherExt == null ? null : finisherExt.trim();
    }

    public String getrSupId() {
        return rSupId;
    }

    public void setrSupId(String rSupId) {
        this.rSupId = rSupId == null ? null : rSupId.trim();
    }

    public Date getQpdrsj() {
        return qpdrsj;
    }

    public void setQpdrsj(Date qpdrsj) {
        this.qpdrsj = qpdrsj;
    }

    public String getQpdrzt() {
        return qpdrzt;
    }

    public void setQpdrzt(String qpdrzt) {
        this.qpdrzt = qpdrzt == null ? null : qpdrzt.trim();
    }

    public Date getQpscsj() {
        return qpscsj;
    }

    public void setQpscsj(Date qpscsj) {
        this.qpscsj = qpscsj;
    }

    public String getQpDjzt() {
        return qpDjzt;
    }

    public void setQpDjzt(String qpDjzt) {
        this.qpDjzt = qpDjzt == null ? null : qpDjzt.trim();
    }

    public String getQpTyno() {
        return qpTyno;
    }

    public void setQpTyno(String qpTyno) {
        this.qpTyno = qpTyno == null ? null : qpTyno.trim();
    }

    public String getQpHgno() {
        return qpHgno;
    }

    public void setQpHgno(String qpHgno) {
        this.qpHgno = qpHgno == null ? null : qpHgno.trim();
    }

    public Date getQpZtsj() {
        return qpZtsj;
    }

    public void setQpZtsj(Date qpZtsj) {
        this.qpZtsj = qpZtsj;
    }

    public String getQpFlag() {
        return qpFlag;
    }

    public void setQpFlag(String qpFlag) {
        this.qpFlag = qpFlag == null ? null : qpFlag.trim();
    }

    public BigDecimal getQptflag() {
        return qptflag;
    }

    public void setQptflag(BigDecimal qptflag) {
        this.qptflag = qptflag;
    }

    public String getIsTongguanYth() {
        return isTongguanYth;
    }

    public void setIsTongguanYth(String isTongguanYth) {
        this.isTongguanYth = isTongguanYth == null ? null : isTongguanYth.trim();
    }

    public String getSecondSupId() {
        return secondSupId;
    }

    public void setSecondSupId(String secondSupId) {
        this.secondSupId = secondSupId == null ? null : secondSupId.trim();
    }

    public String getSecondSupIdCode() {
        return secondSupIdCode;
    }

    public void setSecondSupIdCode(String secondSupIdCode) {
        this.secondSupIdCode = secondSupIdCode == null ? null : secondSupIdCode.trim();
    }

    public User getValidator() {
        return validator;
    }

    public void setValidator(User validator) {
        this.validator = validator;
    }

    public String getEnterType() {
        return enterType;
    }

    public void setEnterType(String enterType) {
        this.enterType = enterType;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", realCustomerId=").append(realCustomerId);
        sb.append(", customerComId=").append(customerComId);
        sb.append(", creator=").append(creator);
        sb.append(", ctime=").append(ctime);
        sb.append(", modifier=").append(modifier);
        sb.append(", mtime=").append(mtime);
        sb.append(", businessId=").append(businessId);
        sb.append(", type=").append(type);
        sb.append(", supId=").append(supId);
        sb.append(", bpk=").append(bpk);
        sb.append(", confirmTime=").append(confirmTime);
        sb.append(", validateTime=").append(validateTime);
        sb.append(", validatorId=").append(validatorId);
        sb.append(", validatorExt=").append(validatorExt);
        sb.append(", uploadTime=").append(uploadTime);
        sb.append(", uploaderId=").append(uploaderId);
        sb.append(", uploaderExt=").append(uploaderExt);
        sb.append(", finishTime=").append(finishTime);
        sb.append(", finisherId=").append(finisherId);
        sb.append(", finisherExt=").append(finisherExt);
        sb.append(", rSupId=").append(rSupId);
        sb.append(", qpdrsj=").append(qpdrsj);
        sb.append(", qpdrzt=").append(qpdrzt);
        sb.append(", qpscsj=").append(qpscsj);
        sb.append(", qpDjzt=").append(qpDjzt);
        sb.append(", qpTyno=").append(qpTyno);
        sb.append(", qpHgno=").append(qpHgno);
        sb.append(", qpZtsj=").append(qpZtsj);
        sb.append(", qpFlag=").append(qpFlag);
        sb.append(", qptflag=").append(qptflag);
        sb.append(", isTongguanYth=").append(isTongguanYth);
        sb.append(", secondSupId=").append(secondSupId);
        sb.append(", secondSupIdCode=").append(secondSupIdCode);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}